#ifndef TCL_MTK_DTV_TV_H
#define TCL_MTK_DTV_TV_H
#include"tcl_tv.h"
#include<QMessageBox>

class TCL_MTK_DTV_TV : public TCL_TV
{
    friend class TCL_USB;
    friend class MainWindow;
public:
    TCL_MTK_DTV_TV();
    ~TCL_MTK_DTV_TV();
   /* TCL_MTK_DTV_TV(QString &name,uint ch_val=0,uint freq=0,uint bandwidth=0,
                   UInt nw_id=0,UInt on_id=0,UInt ts_id=0,UInt prog_id=0,
                   uint sys_rate=0,uint mod=0,uint nw_flag=0):
                   TCL_TV(name),ui4_ch_val(ch_val),
                   ui4_freq(freq),e_bandwidth(bandwidth),
                   ui4_nw_id(nw_id),ui4_on_id(on_id),
                   ui4_ts_id(ts_id),ui4_prog_id(prog_id),
                   ui4_sys_rate(sys_rate),e_mod(mod),ui4_nw_flag(nw_flag){}
*/
    int Read_Data(QDataStream &in);
    int Write_Data(QDataStream &out);
     void Set_Data(int order,QVariant );
     int Count_Item();
     QString Get_Item(int i);
     void Get_Data(QList<QString>*);
     void Set_Data(QList<QString>&);

public:
    uint ui4_ch_val;
    uint ui4_class;
    uint ui4_type;
    uint ui4_freq;
    uint ui4_isfav;
    uint ui4_isskip;

};

#endif // TCL_MTK_DTV_TV_H
